<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Emotion Recognition Result</title>
    <style>
        body {
            font-family: Arial, sans-serif;
            text-align: center;
            background-color: #f0f0f0;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
            margin: 0;
        }
        .window {
            width: 400px;
            border-radius: 20px;
            background-color: #f9f9f9;
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
            padding: 20px;
        }
        h1 {
            font-size: 28px;
            margin-bottom: 20px;
            border-bottom: 2px solid #3498db;
            padding-bottom: 10px;
        }
        .emoji {
            font-size: 150px;
            margin-top: 20px;
        }
        .emotion-label {
            font-size: 24px;
            margin-top: 20px;
            color: #333;
        }
        .return-button {
            display: block;
            margin: 20px auto;
            padding: 10px 20px;
            background-color: #3498db;
            color: #fff;
            text-decoration: none;
            border-radius: 5px;
        }
    </style>
</head>
<body>
    <div class="window">
        <h1>Emotion Recognition Result</h1>
        <div class="emoji">
            {% if emotion == 'Positive' or emotion =='Happy' %}
                😀
            {% elif emotion == 'Negative' %}
                😢
            {% elif emotion == 'Neutral' or emotion =='Not happy' %}
                😐
            {% endif %}
        </div>
        <div class="emotion-label">
            Emotion: {{ emotion.capitalize() }}
        </div>
        <hr style="margin: 20px 0;">
        <a href="/upload" class="return-button">Back</a>
    </div>
</body>
</html>
